package com.example.demo;

import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.actionbarsherlock.app.SherlockFragment;

public class PagerOfFragment extends SherlockFragment   {

	
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
			TextView textView = new TextView(getActivity());
		    textView.setGravity(Gravity.CENTER);
		    textView.setText("你选择了标签:"+Integer.toString(getArguments().getInt(
		            "no")));
		    return textView;

	}

    
  

	
}
